<{include file="public/header.html"}>
		<div class="xinsu-right">
			<div class="xinsu-right-title" id="xinsu-zhishu"></div>
			<div class="xinsu-right-content">
				<form class="layui-form xinsu-form" action="" method="get">
					<div class="layui-form-item">
						<div class="layui-inline">
						    <label class="layui-form-label xinsu-form-label">查询日期</label>
						    <div class="layui-input-inline">
						        <input type="text" name="start_time" id="start_time" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,max:laydate.now()})" value="<{if 0 != $start_time}><{$start_time}><{/if}>">
						    </div>
						    <label class="layui-form-label xinsu-form-label2">至</label>
						    <div class="layui-input-inline">
						       <input type="text" name="end_time" id="end_time" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,max:laydate.now()})" value="<{if 0 != $end_time}><{$end_time}><{/if}>">
						    </div>
						</div>
						<button class="layui-btn xinsu-btn" >查询</button>
					</div>
				</form>
				<div class="layui-form">
					<table class="layui-table">
						<thead>
							<tr>
								<th>编号</th>
								<th>资金</th>
								<th>上次资金</th>
								<th>额度</th>
								<th>上次额度</th>
								<th>盈亏</th>
								<th>上次盈亏</th>
								<th>描述</th>
								<th>日期</th>
							</tr> 
						</thead>
						<tbody>
							<{if empty($list) == false}>
							<{foreach $list as $val}>
							<tr>
								<td><{$val.id}></td>
								<td class="xinsu-fontcolor-green"><{$val.finance}></td>
								<td class="xinsu-fontcolor-red"><{$val.old_finance}></td>
								<td class="xinsu-fontcolor-red"><{$val.amount}></td>
								<td class="xinsu-fontcolor-red"><{$val.old_amount}></td>
								<td class="xinsu-fontcolor-red"><{$val.gain}></td>
								<td class="xinsu-fontcolor-red"><{$val.old_gain}></td>
								<td style="text-align:left"><{$val.remark}></td>
								<td><{$val["addtime"]}></td>
							</tr>
							<{/foreach}>
							<{else}>
							<tr>
								<td colspan="5">暂无数据</td>
							</tr>
							<{/if}>
						</tbody>
					</table>
				</div>
				<div class="xinsu-page">
					<div class="xinsu-show">
						<{$page}>
					</div>
					<div class="xinsu-clear"></div>
				</div>
			</div>
		</div>
<{include file="public/footer.html"}>